package com.bjpowernode.beans;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//把mysql里面的表格变成Java的类型叫ORM（对象关系映射）
@Data
@AllArgsConstructor
@NoArgsConstructor
public class News {
int id;
String title;
String st;

int news_type_id;
NewsType newsType;

String user_id;
User user;


}
